Otys\OtysPlugin\Includes\Core\Routes B

Total Complexity 100
Dependencies 6
Dependents 15
Total lines 746
Lines of code 415
Logical lines of code 223
Comment lines 200
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
get()
A
49 14 28
checkOldVacancyRedirect()
A
44 9 45
checkRewrites()
A
53 9 20
addRoutes()
A
43 7 49
getCurrentRoute()
A
50 8 24
setOtysUrlFormat()
S
45 6 43
locateTemplate()
S
58 7 15
customSlugIsActive()
S
52 6 27
createFakePage()
S
42 2 56
add()
S
54 4 20
throwError()
S
55 4 19
runInitCallback()
S
64 5 9
checkRoute()
S
61 5 10
checkPage()
S
67 3 8
initRewriteRules()
S
64 3 8
checkRobots()
S
69 2 7
getRouteParameter()
S
68 2 7
checkCanonical()
S
69 2 7
addQueryVars()
S
73 1 5
__construct()
S
65 1 8